package service

import model "awesomeProject/src/main/Models"

type OrderService interface {
	//查询所有
	//GetAllOrder()(b []*db.DemoOrder,err error)

	GetAllOrder() (orderList []*model.DemoOrder, err error)
	AddNewOrder(order *model.DemoOrder ) (err error)
	GetOneOrder(orderNo string) (b *model.DemoOrder,err error)
	//UpdatesOrder(orderNo string, amount float64, status string, fileUrl string) (err error)
	UpdateOrder(order *model.DemoOrder) (err error)
	DeleteOrder(orderNo string) (err error)
}

